/**
 * 
 */
package demo.java.lang.management.vo;

/**
 * @author mandy
 *
 */
public class ClientConstants {
	
    public static final String X_B3_TRACE_ID = "x-tId";
    public static final String X_B3_SPAN_ID = "x-sId";
    public static final String X_B3_PARENT_ID = "x-pId";
    public static final String X_B3_VIEW_ID = "x-viewId";

    public static final String X_GW_REQ_ID = "x-gw-req-Id";

    public static final String X_B3_MONITOR_PARENT_ID = "x-mPId";
    public static final String X_B3_MONITOR_ID = "x-monId";

    public static final String X_B3_XMLYID = "xmlyid";
    public static final String X_B3_FLAG = "X-Flag";
    public static final String X_B3_SAMPLED = "X-Sampled";
    
    public static final String OK = "OK";
    public static final String EXCEPTION = "EXCEPTION";
    public static final String TIMEOUT = "TIMEOUT";
    public static final String X_B3_SAMPLED_TRUE = "1";
    
    public static final String ONLINE="on";
    public static final String OFFLINE="off";

    public static final String X_B3_CLIENT_IP = "x-clientIp";
    public static final String X_B3_USER_AGENT = "x-userAgent";
    public static final String X_B3_REQ_SOURCE = "x-req-source";
    public static final String X_B3_CLIENT_PORT = "x-clientPort";
    public static final String X_CLIENT_USERID="x-client-userId";
    public static final String X_CLIENT_DEVICEID="x-client-deviceId";
    public static final String X_CLIENT_CLIENTIP="x-client-clientIp";

    public static final String ORDER_FREE_FLOW_KEY="isOrderFreeFlow";
    //abtest使用
    public static final String X_ABTEST_BUCKETIDS = "x-abtest-bucketIds";
    public static final String X_MULEHORSE_BUCKETIDS = "x-mulehorse-bucketIds";

    public static final String X_B3_RESPONSE_CODE = "x-response-code";
    public static final String X_B3_HIT_NGINX_STATUS = "x-hit-nginx-status";
    public static final String X_B3_SERVER_COSTTIME = "x-server-costtime";
    public static final String X_B3_SOURCE_TYPE = "x-span-source";
    public static final String X_B3_SOURCE_TYPE_JAVA_VALUE = "x-java";
    public static final String X_B3_RESULT_SPAN = "x-r";
    public static final String TRACK_URL = "track-url";
    public static final String TRACK_ID = "track-id";
    public static final String TRACK_SIZE = "track-size";
    public static final String BABY_ID="babyId";
    public static final String OFFLINE_DATA_GENTIME = "offline_data_gentime";
    public static final String X_CLIENT_SENDTIME = "x_client_sendtime";

    //cdn的数据里放clientip对应的省、市字段
    public static final String COUNTRY_KEY="x-country";
    public static final String PROVINCE_KEY="x-province";
    public static final String CDN_DOMAIN_KEY="x-cdnDomain";
    public static final String BLOCK_DOMAIN_KEY="x-blockDomain";
    public static final String PROVINCECODE_KEY="x-provinceCode";
    public static final String COUNTRYCODE_KEY="x-countryCode";
    public static final String CITY_KEY="x-city";
    public static final String CITYCODE_KEY="x-cityCode";
    
    //web上传错误
    public static final String BROWSER_VERSION_KEY="browserVersion";
    public static final String OFFLINE_DATA_GENTIME_KEY="offline_data_gentime";
    public static final String ERROR_TYPE_KEY="errorType";
    public static final String CURRURL_KEY="currUlr";
    public static final String MODULE_NAME_KEY="moduleName";
    public static final String USER_ID_KEY="userId";
    public static final String CLIENT_IP_KEY="x-clientIp";
    public static final String SPAN_SOURCE_KEY="x-span-source";
    public static final String ERROR_MSG_KEY="errorMsg";
    public static final String HTTP_STATUS_KEY="httpstatus";
    public static final String PROJECT_NAME_KEY="projectName";
    public static final String MODULE_VERSION_KEY="moduleVersion";
    public static final String OS_TYPE_KEY="osType";


    //动态日志
    //log类型
    public static final String SPAN_TYPE="span_type";
    //log类型 dynamiclog
    public static final String DYNAMICLOG="dynamiclog";
    public static final String ERROR="ERROR";
    public static final String INFO="INFO";


}
